<div class="fly-panel fly-column">
    <div class="layui-container">
        <ul class="layui-clear">
            <li <#if column?? && column=='main'>class="layui-this"</#if> ><a href="${ctx.contextPath}/post/query/main/${filter}">首页</a></li>
            <li <#if column?? && column=='0'>class="layui-this"</#if> ><a href="${ctx.contextPath}/post/query/0/${filter}">提问</a></li>
            <li <#if column?? && column=='99'>class="layui-this"</#if> ><a href="${ctx.contextPath}/post/query/99/${filter}">分享<span class="layui-badge-dot"></span></a></li>
            <li <#if column?? && column=='100'>class="layui-this"</#if> ><a href="${ctx.contextPath}/post/query/100/${filter}">讨论</a></li>
            <li <#if column?? && column=='101'>class="layui-this"</#if> ><a href="${ctx.contextPath}/post/query/101/${filter}">建议</a></li>
            <li <#if column?? && column=='168'>class="layui-this"</#if> ><a href="${ctx.contextPath}/post/query/168/${filter}">公告</a></li>
            <li <#if column?? && column=='169'>class="layui-this"</#if> ><a href="${ctx.contextPath}/post/query/169/${filter}">动态</a></li>

      <@shiro.user>
          <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><span class="fly-mid"></span></li>
          <!-- 用户登入后显示 -->
          <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="${ctx.contextPath}/user/mypost">我发表的贴</a></li>
          <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="${ctx.contextPath}/user/mypost#collection">我收藏的贴</a></li>
      </@shiro.user>

        </ul>

        <div class="fly-column-right layui-hide-xs">
            <span class="fly-search"><i class="layui-icon"></i></span>
            <a href="${ctx.contextPath}/post/add" class="layui-btn">发表新帖</a>
        </div>
        <div class="layui-hide-sm layui-show-xs-block" style="margin-top: -10px; padding-bottom: 10px; text-align: center;">
            <a href="${ctx.contextPath}/post/add" class="layui-btn">发表新帖</a>
        </div>
    </div>
</div>